package com.blb.productservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;

//启动熔断器
@EnableHystrix
//启动eureka客户端
//@EnableEurekaClient
@EnableDiscoveryClient
@SpringBootApplication
//        (scanBasePackages = {"com.blb.productservice","com.blb.common"})
public class ProductServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(ProductServiceApplication.class, args);
    }

}
